import { Module } from '@nestjs/common';
import { ArticleService } from './article.service';
import { ArticleController } from './article.controller';
import { SMSPushService } from './../push-service/sms-push.service';

@Module({
  controllers: [ArticleController],
  providers: [
    ArticleService,
    {
      provide: 'PUSH_SERVICE',
      useClass: SMSPushService,
    },
  ],
})
export class ArticleModule {}
